﻿using Common.Enum;

namespace Entity.ERP.View.PurchaseArriveOrder
{
    /// <summary>
    /// 采购到货单视图模型
    /// </summary>
    public class PurchaseArriveOrderView
    {
        /// <summary>
        /// 采购到货单 ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 采购到货编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 流转卡号
        /// </summary>
        public string CardNo { get; set; }

        /// <summary>
        /// 供应商 ID
        /// </summary>
        public string SupplierId { get; set; }

        /// <summary>
        /// 供应商编码
        /// </summary>
        public string SupplierCode { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }

        /// <summary>
        /// 计划到货时间
        /// </summary>
        public DateTime PlanArriveTime { get; set; }

        /// <summary>
        /// 实际到货时间
        /// </summary>
        public DateTime? ActualArriveTime { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        public StateEnum.PurchaseType Status { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        public StateEnum.ExamStatus ExamStatus { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        public string? File { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
